home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 114 / PC Guia 114.iso / Software / Utils / The Gimp 2.2.1 / gimp-help-2-0.6-setup.exe / {app} / share / gimp / 2.0 / help / en / ch04s05.html < prev    next >
Encoding:
Extensible Markup Language  |  2004-12-19  |  10.7 KB  |  269 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>5.┬áIndexed Palette dialog</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
  10.     <link rel="start" href="index.html" title="GIMP User Manual" />
  11.     <link rel="up" href="ch04.html" title="Chapter┬á4.┬áDialogs" />
  12.     <link rel="prev" href="ch04s04s04.html" title="4.4.┬áPaths Menu" />
  13.     <link rel="next" href="ch04s06.html" title="6.┬áHistogram dialog" />
  14.   </head>
  15.   <body>
  16.     <div xmlns="" class="navheader">
  17.       <table width="100%" summary="Navigation header">
  18.         <tr>
  19.           <th colspan="3" align="center" id="chaptername">Chapter┬á4.┬áDialogs</th>
  20.         </tr>
  21.         <tr>
  22.           <td width="20%" align="left"><a accesskey="p" href="ch04s04s04.html">Prev</a>┬á</td>
  23.           <th width="60%" align="center" id="sectionname">5.┬áIndexed Palette dialog</th>
  24.           <td width="20%" align="right">┬á<a accesskey="n" href="ch04s06.html">Next</a></td>
  25.         </tr>
  26.       </table>
  27.       <hr />
  28.     </div>
  29.     <div class="sect1" lang="en" xml:lang="en">
  30.       <div class="titlepage">
  31.         <div>
  32.           <div>
  33.             <h2 class="title" style="clear: both"><a id="gimp-indexed-palette-dialog"></a>5.┬áIndexed Palette dialog</h2>
  34.           </div>
  35.         </div>
  36.       </div>
  37.       <a id="id3451334" class="indexterm"></a>
  38.       <div class="informalfigure">
  39.         <div class="mediaobject">
  40.           <img src="../images/dialogs/dialogs-indexed-palette.png" />
  41.           <div class="caption">
  42.             <p>
  43.       The Indexed Palette dialog
  44.     </p>
  45.           </div>
  46.         </div>
  47.       </div>
  48.       <p>
  49.     The Indexed Palette dialog allows you to edit the colormap of an
  50.     indexed image.  (If the mode of the active image is RGB or
  51.     Grayscale instead of Indexed, the dialog is empty and unusable.)
  52.     This is a dockable dialog; see the section on <a href="ch02s03s04.html" title="3.4.┬áDialogs and Docking">Dialogs and Docking</a> for help on
  53.     manipulating it.  It can be activated in two ways:
  54.   </p>
  55.       <div class="itemizedlist">
  56.         <ul type="disc">
  57.           <li>
  58.             <p>   
  59.         From the Toolbox menu:
  60.         <span class="guimenu">File</span>-><span class="guisubmenu">Dialogs</span>-><span class="guimenuitem">Indexed Palette</span>
  61.       </p>
  62.           </li>
  63.           <li>
  64.             <p>   
  65.         From the image menu:
  66.         <span class="guimenu">Dialogs</span>-><span class="guimenuitem">Indexed Palette</span>
  67.       </p>
  68.           </li>
  69.         </ul>
  70.       </div>
  71.       <div class="simplesect" lang="en" xml:lang="en">
  72.         <div class="titlepage">
  73.           <div>
  74.             <div>
  75.               <h3 class="title"><a id="id3451439"></a>Colormaps and Indexed Images</h3>
  76.             </div>
  77.           </div>
  78.         </div>
  79.         <p>
  80.       In an Indexed image, colors are assigned to pixels by an
  81.       indirect method, using a lookup table called a
  82.       <span class="emphasis"><em>colormap</em></span>.  In GIMP, the maximum number of
  83.       entries in a colormap is 256.  For a maximum-sized colormap,
  84.       each index from 0 to 255 is assigned an arbitrary RGB color.
  85.       There are no rules restricting the colors that can be assigned
  86.       to an index or the order they appear in:  any index can be
  87.       assigned any color.  
  88.     </p>
  89.         <p>
  90.       In an Indexed image, instead of being assigned a color directly
  91.       (as happens in RGB and Grayscale images), each pixel is assigned
  92.       an index.  To determine the color that should be shown for that
  93.       pixel, GIMP looks up the index in the image's colormap.  Each
  94.       indexed image has its own private colormap.
  95.     </p>
  96.         <p>       
  97.       It is important to realize that the colors in the colormap are
  98.       the <span class="emphasis"><em>only colors available</em></span> for an indexed
  99.       image (that is, unless you add new colors to the colormap).
  100.       This has a major effect on many gimp operations:  for example,
  101.       in a pattern fill, GIMP will usually not be
  102.       able to find exactly the right colors in the colormap, so it
  103.       will approximate them by 
  104.       <a href="go01.html#glossary-dithering">Dithering</a>.  If the 
  105.       colormap is too limited or poorly chosen, this can easily 
  106.       produce very poor image quality.
  107.     </p>
  108.         <p>
  109.       The Indexed Palette dialog allows you to alter the colormap for an
  110.       image, either by creating new entries, or by changing the colors
  111.       for the existing entries.  If you change the color associated
  112.       with a given index, you will see the changes reflected
  113.       throughout the image, as a color shift for all pixels that are
  114.       assigned that index.  The entries are numbered with 0 in the
  115.       upper left corner, 1 to its right, etc.
  116.     </p>
  117.         <p>
  118.       Here are the operations you can perform using this dialog:
  119.     </p>
  120.         <div class="variablelist">
  121.           <p class="title">
  122.             <b>Using the Indexed Palette dialog</b>
  123.           </p>
  124.           <dl>
  125.             <dt>
  126.               <span class="term">Click on a color entry</span>
  127.             </dt>
  128.             <dd>
  129.               <p>
  130.             This sets GIMP's foreground color to the color you click
  131.             on, as shown in the Toolbox color area.  As a result, this
  132.             color will be used for the next painting operation you do.
  133.           </p>
  134.             </dd>
  135.             <dt>
  136.               <span class="term">Ctrl-click on a color entry</span>
  137.             </dt>
  138.             <dd>
  139.               <p>
  140.             Le Ctrl-clic sur une case de couleur place cette couleur 
  141.             en couleur d'Arri├¿re-plan dans la Bo├«te ├á outils.
  142.           </p>
  143.             </dd>
  144.             <dt>
  145.               <span class="term">Double-click on a color entry</span>
  146.             </dt>
  147.             <dd>
  148.               <p>
  149.             This sets GIMP's foreground color to the color you click
  150.             on, and also brings up a Color Editor that allows you to
  151.             change that colormap entry to a new color.
  152.           </p>
  153.             </dd>
  154.             <dt>
  155.               <span class="term">Color index</span>
  156.             </dt>
  157.             <dd>
  158.               <p>
  159.             You can select a different colormap entry by typing its
  160.             index here, or clicking the spinbutton to the right.
  161.           </p>
  162.             </dd>
  163.             <dt>
  164.               <span class="term">Hex triplet</span>
  165.             </dt>
  166.             <dd>
  167.               <p>
  168.             This area shows a hex-code representation (such as is used
  169.             in HTML) for the color assigned to the currently selected
  170.             colormap entry.  You can edit the color here, instead of
  171.             using a Color Editor, if you want to. See
  172.             <a href="go01.html#glossary-hextriplet">HexTriplet</a>
  173.           </p>
  174.             </dd>
  175.             <dt>
  176.               <span class="term">Edit color</span>
  177.             </dt>
  178.             <dd>
  179.               <a id="gimp-indexed-palette-edit"></a>
  180.               <p>
  181.             This button (in the lower left corner of the dialog)
  182.             brings up a Color Editor that allows you to change the
  183.             color for the currently selected colormap entry.  The
  184.             effect is similar to double-clicking on the entry, except
  185.             that it does not set GIMP's foreground color.
  186.           </p>
  187.             </dd>
  188.             <dt>
  189.               <span class="term">Add color</span>
  190.             </dt>
  191.             <dd>
  192.               <a id="gimp-indexed-palette-add"></a>
  193.               <p>
  194.             This button (in the lower right corner of the dialog)
  195.             allows you to add new colors to the colormap.  If you
  196.             click on the button, the current foreground color, as
  197.             shown in the Toolbox, will be tacked on to the end of the
  198.             colormap.  If instead you hold down <span><b class="keycap">Ctrl</b></span>
  199.             and click, the background color from the Toolbox will be
  200.             added.  (If the colormap contains 256 entries, it is full,
  201.             and trying to add more will have no effect.)
  202.           </p>
  203.             </dd>
  204.           </dl>
  205.         </div>
  206.         <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
  207.           <table border="0" summary="Tip">
  208.             <tr>
  209.               <td rowspan="2" align="center" valign="top" width="25">
  210.                 <img alt="[Tip]" src="../images/tip.png" />
  211.               </td>
  212.               <th align="left">Tip</th>
  213.             </tr>
  214.             <tr>
  215.               <td colspan="2" align="left" valign="top">
  216.                 <p> 
  217.         If you make a mistake, you can undo it by focusing the pointer in
  218.         the image whose colormap you have changed, and then pressing
  219.         <span><b class="keycap">Ctrl-Z</b></span> or choosing
  220.         <span class="guimenu">Edit</span>-><span class="guimenuitem">Undo</span> 
  221.         in the image menu.
  222.       </p>
  223.               </td>
  224.             </tr>
  225.           </table>
  226.         </div>
  227.         <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
  228.           <table border="0" summary="Note">
  229.             <tr>
  230.               <td rowspan="2" align="center" valign="top" width="25">
  231.                 <img alt="[Note]" src="../images/note.png" />
  232.               </td>
  233.               <th align="left">Note</th>
  234.             </tr>
  235.             <tr>
  236.               <td colspan="2" align="left" valign="top">
  237.                 <p>
  238.         This dialog is not the only way of altering the colormap for an
  239.         indexed image.  The color tools, such as Brightness/Contrast,
  240.         Hue/Saturation, etc, also change the colors in the colormap.
  241.       </p>
  242.               </td>
  243.             </tr>
  244.           </table>
  245.         </div>
  246.       </div>
  247.     </div>
  248.     <div class="navfooter">
  249.       <hr />
  250.       <table width="100%" summary="Navigation footer">
  251.         <tr>
  252.           <td width="40%" align="left"><a accesskey="p" href="ch04s04s04.html">Prev</a>┬á</td>
  253.           <td width="20%" align="center">
  254.             <a accesskey="u" href="ch04.html">Up</a>
  255.           </td>
  256.           <td width="40%" align="right">┬á<a accesskey="n" href="ch04s06.html">Next</a></td>
  257.         </tr>
  258.         <tr>
  259.           <td width="40%" align="left" valign="top">4.4.┬áPaths Menu┬á</td>
  260.           <td width="20%" align="center">
  261.             <a accesskey="h" href="index.html">Home</a>
  262.           </td>
  263.           <td width="40%" align="right" valign="top">┬á6.┬áHistogram dialog</td>
  264.         </tr>
  265.       </table>
  266.     </div>
  267.   </body>
  268. </html>
  269.